home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 44 / PC Actual CD 44.iso / Linux / Cygwin / full.exe / Disk1 / data1.cab / Tools / H-i586-cygwin32 / i586-cygwin32 / include / mingw32 / dos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-04  |  1.7 KB  |  77 lines

  1. /* 
  2.  * dos.h
  3.  *
  4.  * DOS-specific functions and structures.
  5.  *
  6.  * This file is part of the Mingw32 package.
  7.  *
  8.  * Contributors:
  9.  *  Created by J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
  10.  *
  11.  *  THIS SOFTWARE IS NOT COPYRIGHTED
  12.  *
  13.  *  This source code is offered for use in the public domain. You may
  14.  *  use, modify or distribute it freely.
  15.  *
  16.  *  This code is distributed in the hope that it will be useful but
  17.  *  WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
  18.  *  DISCLAMED. This includes but is not limited to warranties of
  19.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  20.  *
  21.  * $Revision: 1.2 $
  22.  * $Author: noer $
  23.  * $Date: 1998/10/20 01:24:49 $
  24.  *
  25.  */
  26.  
  27. #ifndef    __STRICT_ANSI__
  28.  
  29. #ifndef    _DOS_H_
  30. #define    _DOS_H_
  31.  
  32. #define __need_wchar_t
  33. #ifndef RC_INVOKED
  34. #include <stddef.h>
  35. #endif    /* Not RC_INVOKED */
  36.  
  37. /* For DOS file attributes */
  38. #include <dir.h>
  39.  
  40. #ifndef RC_INVOKED
  41.  
  42. #ifdef __cplusplus
  43. extern "C" {
  44. #endif
  45.  
  46. extern char** __imp__pgmptr_dll;
  47. #define _pgmptr (*__imp__pgmptr_dll)
  48.  
  49. /* Wide character equivalent */
  50. extern wchar_t** __imp_wpgmptr_dll;
  51. #define _wpgmptr (*__imp__wpgmptr_dll)
  52.  
  53. extern unsigned int *__imp__basemajor__dll;
  54. extern unsigned int *__imp__baseminor__dll;
  55. extern unsigned int *__imp__baseversion__dll;
  56. extern unsigned int *__imp__osmajor_dll;
  57. extern unsigned int *__imp__osminor_dll;
  58. extern unsigned int *__imp__osmode_dll;
  59.  
  60. #define _basemajor (*__imp__basemajor_dll)
  61. #define _baseminor (*__imp__baseminor_dll)
  62. #define _baseversion (*__imp__baseversion_dll)
  63. #define _osmajor (*__imp__osmajor_dll)
  64. #define _osminor (*__imp__osminor_dll)
  65. #define _osmode (*__imp__osmode_dll)
  66.  
  67. #ifdef __cplusplus
  68. }
  69. #endif
  70.  
  71. #endif    /* Not RC_INVOKED */
  72.  
  73. #endif    /* Not _DOS_H_ */
  74.  
  75. #endif    /* Not __STRICT_ANSI__ */
  76.  
  77.